package com.nf.health.app.intervention_details.adapter;

import android.app.Activity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;

import com.nf.health.app.R;

import java.util.List;

/**
 * 运动 经络 等适配器
 * Created by Administrator on 2016/11/21.
 */
public class MassAdapter extends BaseAdapter{

     List<String> list;
    Activity activity;
    public MassAdapter(List<String> list,Activity activity) {
        this.list = list;
        this.activity = activity;
    }

    @Override
    public int getCount() {
        return list.size();
    }

    @Override
    public Object getItem(int position) {
        return list.get(position);
    }

    @Override
    public long getItemId(int position) {
        return position;
    }

    @Override
    public View getView(int position, View convertView, ViewGroup parent) {

        View view = LayoutInflater.from(activity).inflate(R.layout.item_layout_mass,parent,false);



        return null;
    }
}
